//
//  LYAlliyunUpLoadManager.h
//  O Chat
//
//  Created by 涂阳 on 2019/8/13.
//  Copyright © 2019 ivic. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TYAlliyunUpLoadManager : NSObject

@property (nonatomic , copy)  void  (^uploadProgressBlock)(float progress);
@property (nonatomic , copy)  void  (^uploadFinishBlock)(NSString *videoId);
@property (nonatomic , copy)  void  (^upLoadFailBlock)(void);


@property (nonatomic , copy)  NSString  *videoId;
@property (nonatomic , copy)  NSString  *uploadAuth;
@property (nonatomic , copy)  NSString  *uploadAddress;

+ (TYAlliyunUpLoadManager *)shareManager;
- (void)uploadVideoWithFilePath:(NSString *)filePath andChallengeType:(NSString *)title andcateId:(int)Id andDesc:(NSString *)desc andcoverUrl:(NSString *)cover;

- (void)ImageuploadVideoWithFilePath:(NSString *)filePath andChallengeType:(NSString *)title andcateId:(int)Id andDesc:(NSString *)desc;

@end

NS_ASSUME_NONNULL_END
